define([
	'underscore',
	'text!templets/public/datatable.htm'
], function(
	_,
	tableTpl
) {
	var util = {
		drawTable: function(options) {
			options.thWidth = options.thWidth || null;
			var res = _.template(tableTpl, options);
			options.$el.html(res);
		}
	};
	return util;
});